//Struct和指针变量的实训
//Training of Struct and pointer variables
// NOLINTBEGIN  
#include <cstring>
#include <iostream>
#include <string>
using namespace std;

struct Student  //Structure type
{
  string nameStu;
  char name[10];
  int numStu;
  double score;
};
struct Student* stu;
int main() {
  stu          = new Student();
  stu->nameStu = "ZangSan";
  stu->numStu  = 1001;
  stu->score   = 98.5;
  /*stu->name="Lisa";*/
  strcpy(stu->name, "Lisa");
  cout << stu->nameStu << "    " << "\n"
       << stu->numStu << "    " << "\n"
       << stu->score << "    " << "\n"
       << stu->name << endl;
  delete stu;
  cout << "Hello World!" << endl;
  //system("pause");
  return 0;
}
// NOLINTEND